package com.myproject.thread;

import java.util.concurrent.Executors;
import java.util.concurrent.locks.ReentrantLock;

public class Service {

    public void method(){

        ReentrantLock lock = new ReentrantLock();
        Thread t = new Thread();
        t.setDaemon(true);

    }
}
